package com.xiaolin.admin.entity;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author xiaolin
 * @description 描述
 * @since 2024/6/6
 */
@Data
public class Detail {
    @NotNull
    @Min(0)
    @Max(150)
    private Integer age;
}
